using System;
using System.Text.RegularExpressions;

namespace TLDRML.Tokens
{
    public class WhiteSpaceTokenDefinition : TokenDefinition
    {
        public WhiteSpaceTokenDefinition() : base(new Regex(@"\s+", RegexOptions.Compiled), true)
        {
        }

        public override Token Create(TokenPosition tokenPosition, string value)
        {
            throw new NotSupportedException();
        }
    }
}